import com.autonavi.yunda.yunji.core.engine.exception.EnginePreconditions

class Script_1665214985742_1752515641 {
    def a
    def regexValid
    def b

    def __paramValidate() {
        EnginePreconditions.check({
            a == 'aaa'
        }.call(), "101010", "a必须等于aaa")
        EnginePreconditions.check({
            regexValid ==~ /\d*/
        }.call(), "222222", "regexValid必须为数字")
        EnginePreconditions.check({
            b != null
        }.call(), "1111", "b不能为空")
    }

    def __output() {
        [_realOutput: null]
    }

    def __response(__success, __code, __message, __traceId, __data) {
        [
                "success": __success,
                "code"   : __code,
                "message": __message,
                "traceId": __traceId,
                "data"   : __data
        ]
    }

}